Matthias Clasen [Thu, 1 Aug 2013 22:54:00 +0000 (00:54 +0200)]
Make examples use search-changed signal
This updates the examples for the new GtkSearchEntry api.
Matthias Clasen [Thu, 1 Aug 2013 22:52:48 +0000 (00:52 +0200)]
Update template api in one more place
The example fragments that are directly embedded in the docs
were still using the old api.
Matthias Clasen [Wed, 31 Jul 2013 16:40:52 +0000 (18:40 +0200)]
Add a revealer to GtkInfoBar
Make GtkInfoBar slide in and out as it is shown or hidden.
https://bugzilla.gnome.org/show_bug.cgi?id=704334
Matthias Clasen [Thu, 1 Aug 2013 08:55:18 +0000 (10:55 +0200)]
Avoid a compiler warning
Piotr Drąg [Wed, 31 Jul 2013 17:51:12 +0000 (19:51 +0200)]
Updated POTFILES.in
Matthias Clasen [Wed, 31 Jul 2013 16:42:10 +0000 (18:42 +0200)]
gtk3-demo: Improve the infobar demo
Add buttons that allow to show and hide each info bar.
Yaron Shahrabani [Wed, 31 Jul 2013 10:09:21 +0000 (13:09 +0300)]
Updated Hebrew translation
Yaron Shahrabani [Wed, 31 Jul 2013 09:05:11 +0000 (12:05 +0300)]
Updated Hebrew translation.
Erik van Pienbroek [Sat, 13 Jul 2013 20:54:09 +0000 (22:54 +0200)]
Don't use UNIX-specific printer objects on non-UNIX
https://bugzilla.gnome.org/show_bug.cgi?id=704173
Benjamin Otte [Wed, 31 Jul 2013 01:02:08 +0000 (03:02 +0200)]
x11: Don't crash when NULL eometry hints are set
Fixes crashers in gnome-panel.
Michael Hutchinson [Tue, 2 Jul 2013 23:04:36 +0000 (19:04 -0400)]
Bug 705181: Fix annoying beeping introduced by Mac IME
NSTextInputClient should not chain unhandled commands to super
(cherry picked from commit
91bcca6f395ba6d5aa5a688d6d629633bbea539f)
Matthias Clasen [Tue, 30 Jul 2013 03:55:27 +0000 (23:55 -0400)]
post-release version bump
Matthias Clasen [Tue, 30 Jul 2013 03:03:33 +0000 (23:03 -0400)]
3.9.10
Matthias Clasen [Tue, 30 Jul 2013 00:51:39 +0000 (20:51 -0400)]
X11: Fix the cut-off for too large windows
We can only handle 2^15-1 pixels, not 2^16-1.
Pointed out by Morten Welinder.
https://bugzilla.gnome.org/show_bug.cgi?id=698758
Chun-wei Fan [Mon, 29 Jul 2013 06:53:00 +0000 (14:53 +0800)]
gtkprintoperation-win32.c: Drop unneeded include
Don't include gtkstock.h as it's not really needed here, and it has been
recently deprecated.
https://bugzilla.gnome.org/show_bug.cgi?id=705060
Carlos Garnacho [Fri, 26 Jul 2013 15:45:19 +0000 (17:45 +0200)]
ime: Add builtin handling of dead keys
The IME input method has been both ignoring keypresses of
non-spacing characters (ditching these as non displayable),
and not letting IME do anything about those.
Even though, the sparse documentation on IMM/IME seems to
hint that applications can't pipe non-spacing characters to
the input method manager, and experimentation shown that
those characters are indeed handled differently than how
it'd be expected.
Then, add basic handling of dead keys on the IME input method
itself , as it's not mutually exclusive with regular keymaps
with dead keys.
https://bugzilla.gnome.org/show_bug.cgi?id=704937
Kalev Lember [Mon, 29 Jul 2013 09:23:58 +0000 (11:23 +0200)]
listbox: handle row sensitivity
When a row is insensitive, don't emit button press events and avoid
prelighting it.
Murray Cumming [Mon, 29 Jul 2013 09:51:25 +0000 (11:51 +0200)]
docs: Minor grammatical corrections.
Chun-wei Fan [Mon, 29 Jul 2013 09:10:00 +0000 (17:10 +0800)]
Update the Visual Studio Property Sheets
"Install" the gtklistboxaccessible.h header file... it's a public header
of gtk-a11y
Simon Feltman [Sun, 28 Jul 2013 20:16:16 +0000 (13:16 -0700)]
Add explicit transfer annotations to gtk_icon_view_get_cursor
The cell out argument to gtk_icon_view_get_cursor is a pass-through
for gtk_cell_area_get_focus_cell which is transfer none. Without
this explicit annotation, transfer full is defaulted and introspection
bindings will assume ownership of the GtkIconViews reference to the
cell, causing crashes. Additionally add explicit transfer full to
the path parameter because it is expected the caller will free the
returned memory.
https://bugzilla.gnome.org/show_bug.cgi?id=704700
Chun-wei Fan [Mon, 29 Jul 2013 03:22:46 +0000 (11:22 +0800)]
Update Visual Studio Property Sheets
"Install" the newly-deprecated headers accordingly and also "install" the
newly-introduced public headers
Matthias Clasen [Mon, 29 Jul 2013 01:51:45 +0000 (21:51 -0400)]
gtk3-demo: Adapt to GtkSearchEntry api changes
Connect to ::search-changed instead of ::changed.
Matthias Clasen [Mon, 29 Jul 2013 01:49:37 +0000 (21:49 -0400)]
Change the way GtkSearchEntry does delayed change notification
We add a GtkSearchEntry::search-changed signal which gets emitted
with a 150 millisecond delay. The ::change signal goes back to its
expected semantics.
https://bugzilla.gnome.org/show_bug.cgi?id=700229
Matthias Clasen [Mon, 29 Jul 2013 00:21:28 +0000 (20:21 -0400)]
GtkSearchEntry: improve clear icon implementation
Instead of connecting to our own signal, which is generally
considered somewhat unclean, override the class handler
for the icon-release signal.
Matt Barnes [Sun, 28 Jul 2013 20:09:58 +0000 (16:09 -0400)]
GtkApplication: Do not assert sm_proxy != NULL in inhibit functions
Applications have no way of finding out if a session manager proxy was
successfully created in gtk_application_startup_session_dbus(), so it's not
appropriate for certain public GtkApplication functions to be asserting the
presence of a session manager proxy as if it were a programmer error.
This affects:
gtk_application_inhibit()
gtk_application_is_inhibited()
If sm_proxy is NULL, the function should just return silently.
In the case of gtk_application_uninhibit(), the application should only be
calling this if it obtained a valid cookie, which implies the presence of a
session manager proxy. I noted that with a comment.
https://bugzilla.gnome.org/show_bug.cgi?id=701365
Matthias Clasen [Sun, 28 Jul 2013 00:33:08 +0000 (20:33 -0400)]
example: Use declared callbacks where possible
Replace manual signal connections with signal handlers
declared in the ui file, where possible.
Ryan Lortie [Sat, 27 Jul 2013 22:15:17 +0000 (18:15 -0400)]
Mention of -rdynamic in GtkBuilder lookup error
We toss a g_warning() if we can't find the user's signal handler. A good chunk
of the time this will be because they didn't use -rdynamic. Add a note about
that.
Takuro Ashie [Sat, 27 Jul 2013 01:34:39 +0000 (10:34 +0900)]
imquartz: Fallback to slave IM context if no NSEvent exists.
When an application translates a key event and drop its native event
before passing to imquartz, it can't recognize the NSEvent. On this
case imquartz doesn't emit any signals such as "commit" signal so
that the application doesn't insert any text. To avoid no response,
at least imquartz should fallback to slave GtkIMContextSimple.
https://bugzilla.gnome.org/show_bug.cgi?id=694273#c27
(cherry picked from commit
c064e188943ad6bd79d8476a0f53e27bfddb4a1f)
John Ralls [Sat, 27 Jul 2013 21:24:53 +0000 (14:24 -0700)]
Fix broken quartz build due to deprecation of gtkstock.h
Ek Kato [Sat, 27 Jul 2013 20:55:39 +0000 (13:55 -0700)]
Bug 701332 - Patch for minor glitch in NSTextInput
(cherry picked from commit
43ed68aa33b8e5efde01f7ef10d081b979cd451f)
Murray Cumming [Fri, 26 Jul 2013 20:16:12 +0000 (22:16 +0200)]
docs: gtk_icon_theme_lookup_by_gicon_for_scale() is new
It was added in commit
58adb70d43dfc6a10dde5847850c8a58e0c08137 .
Alexandre Quessy [Sat, 27 Jul 2013 11:12:26 +0000 (07:12 -0400)]
fix a typo in a comment in gtkwindow.c
Matthias Clasen [Fri, 26 Jul 2013 20:29:12 +0000 (16:29 -0400)]
Another round of template binding api changes
We rename the gtk_widget_class_bind_template_child{_internal}
macros by appending a _private to their name. Otherwise, it
would be too magic to pass the 'public' names as arguments,
but affect a member of the Private struct. At the same time,
Add two new macros with the old names,
gtk_widget_class_bind_template_child{_internal} that operate
on members of the instance struct.
Matthias Clasen [Fri, 26 Jul 2013 18:10:37 +0000 (14:10 -0400)]
Some documentation fixes
Some incomplete renamings in the doc comments for the
template child macros.
Matthias Clasen [Fri, 26 Jul 2013 17:54:27 +0000 (13:54 -0400)]
One forgotten rename
Emmanuele Bassi [Fri, 26 Jul 2013 17:49:49 +0000 (13:49 -0400)]
Rename the widget template API
The macros and functions are inconsistently named, and are not tied to
the "template" concept - to the point that it seems plausible to use
them without setting the template.
The new naming scheme is as follows:
gtk_widget_class_bind_template_child_full
gtk_widget_class_bind_template_callback_full
With the convenience macros:
gtk_widget_class_bind_template_child
gtk_widget_class_bind_template_child_internal
gtk_widget_class_bind_template_callback
https://bugzilla.gnome.org/show_bug.cgi?id=700898
https://bugzilla.gnome.org/show_bug.cgi?id=700896
Piotr Drąg [Fri, 26 Jul 2013 17:34:33 +0000 (19:34 +0200)]
Updated POTFILES.skip
Piotr Drąg [Fri, 26 Jul 2013 17:34:24 +0000 (19:34 +0200)]
Updated POTFILES.skip
Matthias Clasen [Fri, 26 Jul 2013 12:48:38 +0000 (08:48 -0400)]
Trivial typo fix
Alexander Larsson [Fri, 26 Jul 2013 12:41:09 +0000 (08:41 -0400)]
widget: Use a real offset in gtk_widget_class_automate_child
Using an offset from the struct means you can have children in
both the public and private (via G_PRIVATE_OFFSET) parts of the
instance. It also matches the new private macros nicer.
https://bugzilla.gnome.org/show_bug.cgi?id=702563
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
Benjamin Otte [Fri, 26 Jul 2013 11:31:52 +0000 (13:31 +0200)]
tests: Make a11ytests keep going on failure and be verbose
Martin Stransky [Fri, 26 Jul 2013 11:24:53 +0000 (13:24 +0200)]
stylecontext: Clear paths in gtk_render_foo()
This ensures that existing paths are properly cleared and don't cause
spurious renderings.
https://bugzilla.gnome.org/show_bug.cgi?id=694086
Colin Walters [Fri, 26 Jul 2013 01:00:33 +0000 (02:00 +0100)]
testsuite/a11y: Update infobar.txt for latest theme changes
Stefano Facchini [Thu, 25 Jul 2013 22:18:29 +0000 (00:18 +0200)]
infobar: really make the close button hidden by default
https://bugzilla.gnome.org/show_bug.cgi?id=704894
Chao-Hsiung Liao [Thu, 25 Jul 2013 21:40:55 +0000 (05:40 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
David King [Wed, 17 Jul 2013 11:32:36 +0000 (12:32 +0100)]
action: Improve some deprecation notices
Improve on some of the deprecation notices for GtkAction by linking to
other relevant API, and mentioning when there is no direct replacement.
https://bugzilla.gnome.org/show_bug.cgi?id=704392
William Jon McCann [Mon, 15 Jul 2013 19:08:10 +0000 (15:08 -0400)]
demo: add a close button to the info bar demo
https://bugzilla.gnome.org/show_bug.cgi?id=704274
William Jon McCann [Mon, 15 Jul 2013 19:04:56 +0000 (15:04 -0400)]
Add an optional close button to the info bar
This adds gtk_info_bar_{get,set}_show_close_button.
Similar to the one for the search bar. This can replace Cancel
buttons.
https://bugzilla.gnome.org/show_bug.cgi?id=704274
Rob Bradford [Wed, 24 Jul 2013 17:30:19 +0000 (18:30 +0100)]
wayland: Create a cairo surface for the root window
Many parts of GTK+ assume that all windows have a cairo surface
assoicated with them. This change provides a logically 1x1 cairo surface
(respecting scale) for the root window.
https://bugzilla.gnome.org/show_bug.cgi?id=704554
Matthias Clasen [Wed, 24 Jul 2013 05:43:14 +0000 (01:43 -0400)]
Getting started: Add docs for property actions
Use the just added example to add another section to the docs.
Matthias Clasen [Wed, 24 Jul 2013 05:13:06 +0000 (01:13 -0400)]
Getting started: Add an example for property actions
This example demonstrates property actions and object binding.
Matthias Clasen [Wed, 24 Jul 2013 04:44:34 +0000 (00:44 -0400)]
Getting started: Add information about activate and open
The difference between the various GApplication entry points
is a little mysterious to many people, so talk a bit about
this here.
Matthias Clasen [Wed, 24 Jul 2013 04:00:57 +0000 (00:00 -0400)]
Gettting started: Improve some screenshots
Use default GNOME background, and have a desktop file and
icon installed for the app menu screenshot.
Matthias Clasen [Wed, 24 Jul 2013 04:07:41 +0000 (00:07 -0400)]
Getting started: Add docs about desktop file and icon
Matthias Clasen [Wed, 24 Jul 2013 03:16:54 +0000 (23:16 -0400)]
Getting started: Add icon and desktop file
Setting up the icon and desktop file is a pretty central part
of making an application work, so we should do it for our example.
The fact that the examples are uninstalled makes this a little
more complicated.
Matthias Clasen [Wed, 24 Jul 2013 00:18:54 +0000 (20:18 -0400)]
Getting started: Fix a corner case
When using 'Words' without a loaded document, the example
would crash. Thats not nice, so avoid it.
Matthias Clasen [Wed, 24 Jul 2013 05:10:08 +0000 (01:10 -0400)]
Getting started: Drop ugly signal handler cleanup
I disconnected signals in dispose() to avoid a visible-tab
change notification during destruction, but this is clunky.
Instead, make the notify::visible-tab signal handler bail out
early when called during destruction.
Matthias Clasen [Tue, 23 Jul 2013 23:20:07 +0000 (19:20 -0400)]
Getting started: Use <choices> in the schema
The use of a manually-specified enum is a little unusual.
This is really meant to be done by <choices>.
Matthias Clasen [Tue, 23 Jul 2013 23:04:12 +0000 (19:04 -0400)]
Getting started: Coding style updates
Make the new examples use GTK+ coding style.
Colin Walters [Tue, 23 Jul 2013 14:39:56 +0000 (15:39 +0100)]
testsuite/a11y: Don't check minimum increment
This value is highly sensitive to changes in the theme; we
don't want to have to tweak hardcoded integers in this test case
every time we rev gnome-themes-standard.
Future iterations could do more heuristic matching, but this
is enough for now.
https://bugzilla.gnome.org/show_bug.cgi?id=704747
Owen W. Taylor [Wed, 26 Jun 2013 14:05:38 +0000 (10:05 -0400)]
Disable frame sync for GtkPlug
Plug windows weren't redrawing properly because the embedded
window was expecting to get messages for each frame from the
compositor, but the compositor doesn't know about embedded
windows. Simply disable frame sync for GtkPlug's GdkWindow -
extending XEMBED to handle frame sync isn't interesting
at this point.
A new API gdk_x11_window_set_frame_sync_enabled() is added
to allow this to be done.
https://bugzilla.gnome.org/show_bug.cgi?id=701613
Simon Feltman [Mon, 24 Sep 2012 23:34:56 +0000 (16:34 -0700)]
Add gtk_tree_model_rows_reordered_with_length introspectable method
Add introspection friendly version of gtk_tree_model_rows_reordered
with a "_with_length" suffix. This allows language bindings to
safely pass an array with length argument. Use the "Rename to:"
annotation to expose as "gtk_tree_model_rows_reordered".
https://bugzilla.gnome.org/show_bug.cgi?id=684558
Marek Černocký [Mon, 22 Jul 2013 20:23:50 +0000 (22:23 +0200)]
Updated Czech translation
Alberto Ruiz [Mon, 22 Jul 2013 14:06:24 +0000 (16:06 +0200)]
fontchooser: prevent the scale from showing the value as it is shown in the spinbutton already
Erik van Pienbroek [Sat, 13 Jul 2013 20:53:24 +0000 (22:53 +0200)]
Fix prototype of gdk_device_win32_warp
https://bugzilla.gnome.org/show_bug.cgi?id=704171
Murray Cumming [Mon, 22 Jul 2013 12:08:11 +0000 (14:08 +0200)]
docs: gtk_menu_attach_to_widget()
Add a few more clues about why this is useful,
based on
https://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00176.html
and the reference to it from gtk_menu_new_from_model().
Matthias Clasen [Sun, 21 Jul 2013 21:44:13 +0000 (17:44 -0400)]
Fix a wrong link in the new example
The links point to the online cgit locations, so were hard to check
before the commit...
Alberto Ruiz [Sun, 21 Jul 2013 18:46:30 +0000 (20:46 +0200)]
fontchooser: Fix smooth scrolling in the scale and the preview entry
Stefano Facchini [Sun, 21 Jul 2013 14:52:36 +0000 (16:52 +0200)]
Remove a generated Makefile in new example app
Piotr Drąg [Sun, 21 Jul 2013 13:22:34 +0000 (15:22 +0200)]
Updated POTFILES.skip
Jehan [Wed, 17 Jul 2013 10:05:21 +0000 (19:05 +0900)]
gtkdialog - more informative warning when ordering unexisting response_id
Victor Ibragimov [Sun, 21 Jul 2013 06:12:38 +0000 (11:12 +0500)]
Tajik translation updated
Matthias Clasen [Sat, 20 Jul 2013 04:21:48 +0000 (00:21 -0400)]
Add a new example app
Add a new example to the getting started part of the docs. The focus
of this example is on 'new stuff': GtkApplication, templates, settings,
gmenu, gaction, GtkStack, GtkHeaderBar, GtkSearchBar, GtkRevealer,
GtkListBox, GtkMenuButton, etc.
It is being developed in several steps. Each step is put in a separate
directory below examples/: application1, ..., application8. This is a
little repetitive, but lets us use the code of all examples in the
documentation.
Rico Tzschichholz [Sat, 20 Jul 2013 11:03:59 +0000 (13:03 +0200)]
docs: Drop reference to refcounting.txt to fix make dist
In addition to
94d6971ca4e7e6acb066a042c7e0815b63d13b82
Rico Tzschichholz [Sat, 20 Jul 2013 10:58:24 +0000 (12:58 +0200)]
Updated POTFILES.in
Emmanuele Bassi [Sat, 20 Jul 2013 09:55:27 +0000 (10:55 +0100)]
gtk-demo/builder: Re-enable deprecated symbols
The demo uses GtkAction.
Emmanuele Bassi [Sat, 20 Jul 2013 09:47:44 +0000 (10:47 +0100)]
Restore gtkimagemenuitem.c
It got lost in commit
0aa57d26b53a39d0f95bc42d34abd70f4f32406b and it
broke the build.
Matthias Clasen [Sat, 20 Jul 2013 02:48:12 +0000 (22:48 -0400)]
Clean up includes in gtk/deprecated/
Purely cosmetic.
Matthias Clasen [Sat, 20 Jul 2013 02:32:23 +0000 (22:32 -0400)]
Drop some unnecessary includes
Drop includes of deprecated headers where they are
no longer needed.
Matthias Clasen [Sat, 20 Jul 2013 00:29:11 +0000 (20:29 -0400)]
Move wholly deprecated classes to gtk/deprecated/
We've recently a number of classes wholly. For these cases,
move the headers and sources to gtk/deprecated/ and adjust
Makefiles and includes accordingly.
Affected classes:
GtkAction
GtkActionGroup
GtkActivatable
GtkIconFactory
GtkImageMenuItem
GtkRadioAction
GtkRecentAction
GtkStock
GtkToggleAction
GtkUIManager
Chun-wei Fan [Fri, 19 Jul 2013 10:38:27 +0000 (18:38 +0800)]
gtk/gtkrecentchooser.c: Avoid C99isms
Declare variables at the top to the block.
G_GNUC_BEGIN_IGNORE_DEPRECATIONS and G_GNUC_END_IGNORE_DEPRECATIONS with
a ';' at the end is still considered a statement, even if these macros
expand to nothing, which C89 compilers don't really like (oddly speaking)-
but this is life.
Chun-wei Fan [Fri, 19 Jul 2013 10:33:42 +0000 (18:33 +0800)]
gdk/gdkoffscreenwindow.c: Include fallback-c89.c
This is necessary as we are using round() here, which is not universally
available.
Chun-wei Fan [Fri, 19 Jul 2013 10:32:38 +0000 (18:32 +0800)]
Update gtk3-demo Visual C++ Projects
Remove the demos were removed due to deprecation of APIs
Milo Casagrande [Fri, 19 Jul 2013 07:56:02 +0000 (09:56 +0200)]
[l10n] Updated Italian translation.
William Jon McCann [Thu, 18 Jul 2013 02:53:39 +0000 (22:53 -0400)]
tests: don't use tearoff menus in combobox
William Jon McCann [Thu, 18 Jul 2013 02:52:53 +0000 (22:52 -0400)]
Deprecate tear off menus
Marek Černocký [Thu, 18 Jul 2013 13:24:16 +0000 (15:24 +0200)]
Updated Czech translation
Marek Černocký [Thu, 18 Jul 2013 13:16:32 +0000 (15:16 +0200)]
Updated Czech translation
William Jon McCann [Thu, 18 Jul 2013 02:37:50 +0000 (22:37 -0400)]
Use proper quotation marks
As per https://wiki.gnome.org/GnomeOS/Design/Whiteboards/Typography
William Jon McCann [Thu, 18 Jul 2013 01:38:13 +0000 (21:38 -0400)]
docs: use a separate platform support section
William Jon McCann [Thu, 18 Jul 2013 01:32:42 +0000 (21:32 -0400)]
docs: move core and theming under widgets
They aren't that interesting.
William Jon McCann [Thu, 18 Jul 2013 01:31:44 +0000 (21:31 -0400)]
docs: move stock to deprecated
William Jon McCann [Thu, 18 Jul 2013 01:24:51 +0000 (21:24 -0400)]
docs: update the order of widgets to put recommended ones on top
William Jon McCann [Thu, 18 Jul 2013 01:15:37 +0000 (21:15 -0400)]
docs: move imagemenuitem to deprecated
William Jon McCann [Thu, 18 Jul 2013 01:11:35 +0000 (21:11 -0400)]
docs: move builder to under applications
William Jon McCann [Thu, 18 Jul 2013 01:11:01 +0000 (21:11 -0400)]
docs: move action support into deprecated
William Jon McCann [Thu, 18 Jul 2013 01:10:29 +0000 (21:10 -0400)]
docs: move application support to the top of the widget list
William Jon McCann [Thu, 18 Jul 2013 00:45:41 +0000 (20:45 -0400)]
docs: Use sections in the widget gallery
William Jon McCann [Wed, 17 Jul 2013 23:49:29 +0000 (19:49 -0400)]
docs: remove deprecated font and color selectors from gallery
William Jon McCann [Wed, 17 Jul 2013 23:18:12 +0000 (19:18 -0400)]
docs: update generated images of widgets